package com.example.dagger2practice.di;

import androidx.lifecycle.ViewModelProvider;

import com.example.dagger2practice.viewmodels.ViewModelProviderFactory;

import dagger.Binds;
import dagger.Module;
import dagger.Provides;

@Module
public abstract class ViewModelFactoryModule {
    @Binds
    public abstract ViewModelProvider.Factory bindViewModelFactory(ViewModelProviderFactory modelProviderFactory);

//    @Provides
//    static ViewModelProvider.Factory bindfactory(ViewModelProviderFactory factory) {
//        return factory;
//    }
}
